Optimal. Leaf size=45 \[ -\frac {(h x)^{-n (p+1)} \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{h n (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 45, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.022, Rules used = {1849} \[ -\frac {(h x)^{-n (p+1)} \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{h n (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1849
Rubi steps
\begin {align*} \int (h x)^{-1-n-n p} \left (a+b x^n\right )^p \left (c+d x^n\right )^p \left (a c-b d x^{2 n}\right ) \, dx &=-\frac {(h x)^{-n (1+p)} \left (a+b x^n\right )^{1+p} \left (c+d x^n\right )^{1+p}}{h n (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.41, size = 46, normalized size = 1.02 \[ -\frac {(h x)^{n (-p)-n} \left (a+b x^n\right )^{p+1} \left (c+d x^n\right )^{p+1}}{h n p+h n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.09, size = 119, normalized size = 2.64 \[ -\frac {{\left (b d x x^{2 \, n} e^{\left (-{\left (n p + n + 1\right )} \log \relax (h) - {\left (n p + n + 1\right )} \log \relax (x)\right )} + a c x e^{\left (-{\left (n p + n + 1\right )} \log \relax (h) - {\left (n p + n + 1\right )} \log \relax (x)\right )} + {\left (b c + a d\right )} x x^{n} e^{\left (-{\left (n p + n + 1\right )} \log \relax (h) - {\left (n p + n + 1\right )} \log \relax (x)\right )}\right )} {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p}}{n p + n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.43, size = 237, normalized size = 5.27 \[ -\frac {{\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} b d x x^{2 \, n} e^{\left (-n p \log \relax (h) - n p \log \relax (x) - n \log \relax (h) - n \log \relax (x) - \log \relax (h) - \log \relax (x)\right )} + {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} b c x x^{n} e^{\left (-n p \log \relax (h) - n p \log \relax (x) - n \log \relax (h) - n \log \relax (x) - \log \relax (h) - \log \relax (x)\right )} + {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} a d x x^{n} e^{\left (-n p \log \relax (h) - n p \log \relax (x) - n \log \relax (h) - n \log \relax (x) - \log \relax (h) - \log \relax (x)\right )} + {\left (b x^{n} + a\right )}^{p} {\left (d x^{n} + c\right )}^{p} a c x e^{\left (-n p \log \relax (h) - n p \log \relax (x) - n \log \relax (h) - n \log \relax (x) - \log \relax (h) - \log \relax (x)\right )}}{n p + n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.58, size = 138, normalized size = 3.07 \[ -\frac {\left (a d \,x^{n}+b c \,x^{n}+b d \,x^{2 n}+a c \right ) x \left (b \,x^{n}+a \right )^{p} \left (d \,x^{n}+c \right )^{p} {\mathrm e}^{-\frac {\left (n p +n +1\right ) \left (-i \pi \,\mathrm {csgn}\left (i h \right ) \mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i h x \right )+i \pi \,\mathrm {csgn}\left (i h \right ) \mathrm {csgn}\left (i h x \right )^{2}+i \pi \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i h x \right )^{2}-i \pi \mathrm {csgn}\left (i h x \right )^{3}+2 \ln \relax (h )+2 \ln \relax (x )\right )}{2}}}{\left (p +1\right ) n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.04, size = 77, normalized size = 1.71 \[ -\frac {{\left (b d x^{2 \, n} + a c + {\left (b c + a d\right )} x^{n}\right )} h^{-n p - n - 1} e^{\left (-n p \log \relax (x) + p \log \left (b x^{n} + a\right ) + p \log \left (d x^{n} + c\right ) - n \log \relax (x)\right )}}{n {\left (p + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.37, size = 124, normalized size = 2.76 \[ -{\left (c+d\,x^n\right )}^p\,\left (\frac {a\,c\,x\,{\left (a+b\,x^n\right )}^p}{n\,{\left (h\,x\right )}^{n+n\,p+1}\,\left (p+1\right )}+\frac {x\,x^n\,\left (a\,d+b\,c\right )\,{\left (a+b\,x^n\right )}^p}{n\,{\left (h\,x\right )}^{n+n\,p+1}\,\left (p+1\right )}+\frac {b\,d\,x\,x^{2\,n}\,{\left (a+b\,x^n\right )}^p}{n\,{\left (h\,x\right )}^{n+n\,p+1}\,\left (p+1\right )}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________